package com.manner.groupon.model.enums;

/**
 * @Author: Manner
 * @Description: 团购券状态枚举
 * @DateTime: 2024/11/9 17:50
 */
public enum GrouponCouponsStatus {

    ALREADY_LISTED(0, "已上架"),

    REMOVED(1, "已下架"),

    UNAUDITED(2, "未审核"),

    REVIEW_FAILED(3, "审核未通过");

    private final Integer code;
    private final String description;

    GrouponCouponsStatus(int code, String description) {
        this.code = code;
        this.description = description;
    }

    public int getCode() {
        return code;
    }

    public String getDescription() {
        return description;
    }
}
